package com.rw.coco.handler.message.reply.handler.command.sender;

import com.rw.coco.api.data.model.GroupModel;
import com.rw.coco.api.modle.Group;
import com.rw.coco.handler.message.event.CocoGroupMessageEvent;

public abstract class BaseGroupSender extends BaseSender {
    protected final CocoGroupMessageEvent groupEvent;
    protected final GroupModel groupModel;
    protected final Group group;
    protected final boolean admin;

    public BaseGroupSender(CocoGroupMessageEvent event) {
        super(event);
        this.groupEvent = event;
        this.groupModel = event.getGroupModel();
        this.group = event.getGroup();
        this.admin = event.isAdmin();
    }
}
